package com.frontop.constan;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author YangBoos
 * @title: Oauth2TokenDto
 * @projectName frontop-cloud
 * @description: Oauth2获取Token返回信息封装
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
public class Oauth2TokenDto {
    //("访问令牌")
    private String token;
    //("刷令牌")
    private String refreshToken;
    //("访问令牌头前缀")
    private String tokenHead;
    //("有效时间（秒）")
    private int expiresIn;
}
